<?php
class Legend extends CoreTagWithLang {
	protected $align;

	public function __construct() {
		parent::__construct("legend");
		$this->align="";
		$this->attributeNames=array_merge($this->attributeNames,array('align'));
		$this->attributeValues=array_merge($this->attributeValues,array(''));
	}

	public function setAlign($_align) {
		$this->align=(string)$_align;
		$this->setAttribute('align',$_align);
	}
	public function getAlign() {
		return $this->align;
	}

}
?>